<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"  xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="language" content="en" />
        <meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1">
            <?php
            Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . "angular/vender/angular-1.3.5/angular.min.js");
            Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . "angular/vender/angular-1.3.5/angular-route.min.js");
            Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . "angular/vender/angular-1.3.5/angular-resource.min.js");
            Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . "angular/vender/angular-1.3.5/angular-touch.min.js");
            Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . "angular/vender/angular-1.3.5/angular-cookies.min.js");
            Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . "angular/vender/angular-1.3.5/angular-animate.min.js");
            ?>
            <?php // Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl . "/css/mobile/jquery.mobile.datepicker.css");?>
            <?php
            Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . "/js/jquery-1.10.2.js");
            Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . "/bootstrap/3.2.0/js/bootstrap.min.js");
            ?>
            <?php // Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . "/js/jquery.mobile-1.4.2.min.js");?>
            <?php // Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . "/js/jquery.mobile.datepicker.js");?>
            <?php // Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . "/js/jquery.ui.datepicker.js"); ?>


            <!--below is mobiscroll datepicker's css and js-->
            <?php
            Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl . "/css/mobile/mobiscroll.android-ics-2.5.2.css");
            Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl . "/css/mobile/mobiscroll.animation-2.5.2.css");
            Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl . "/css/mobile/mobiscroll.core-2.5.2.css");
            Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . "/js/mobile/mobiscroll.core-2.5.2.js");
            Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . "/js/mobile/mobiscroll.core-2.5.2-zh.js");
            Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . "/js/mobile/mobiscroll.datetime-2.5.1.js");
            Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . "/js/mobile/mobiscroll.datetime-2.5.1-zh.js");
            Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . "/js/mobile/mobiscroll.android-ics-2.5.2.js");
            ?>  
            <!--up is mobiscroll datepicker's css and js-->
            <?php //echo CHtml::encode($this->pageTitle);  ?>
            <title><?php echo "比邻企业平台"; ?></title>
    </head>

    <body>
        <?php echo $content; ?>
        <?php
        if (isset($this->dialog) && $this->dialog != NULL) {
            $this->renderPartial($this->dialog, $this->dialogInfo);
        }
        ?>
    </body>
</html>

<script>
    $('#mainPage').on('pageshow', function() {
        $(":checkbox").hide(); //fix render issue by caix
    });
</script>
